package ay.shadow.admin.controller;

import ay.shadow.admin.service.openService.TestAdminOpenService;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shadow
 */
@RestController
@RequiredArgsConstructor
@RequestMapping("admin")
public class DemoAdminController {
    private final TestAdminOpenService testAdminOpenService;

    @GetMapping("hello")
    private String hello() {
        testAdminOpenService.getHello();
        return  "openFein调用成功";
    }

}
